/*
 * @author: gnoble
 * @date: 
 * @Description: 教师详情页面的样式文件
 */
@import url(./searchH.css);
header{
    position: relative;
}
header .h-title{
    color:white;
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 20px;
    transform: translate(-50%,-50%);
}
section{
    display: flex;
    flex-direction: column;
}
section .detail-img{
    display: flex;
    width: 100%;
    height: 6.8rem;
    justify-content: center;
    align-items: center;
    border-radius: 12px;

}
section .detail-img img{
    border-radius: .26rem;
    width: 4.3333rem;
    height: 5.1333rem;
}
section .detail-text{
    flex:1;
    border-radius: 12px 12px 0 0;
    padding: .4rem; 
    background-color: #1D1D1F;
}
section .detail-text .names{

    display: flex;
    justify-content: space-between;

    font-size: 18px;
}
section .detail-text .names span:nth-child(2){
    color: #DDDE2C;
    font-size: 16px;
}
section .detail-text .text{
    margin-top: .8rem;
    font-size: 16px;
}